SiteGround_Optimizer\Rest\Rest S

Total Complexity 16
Dependencies 1
Dependents 4
Total lines 564
Lines of code 363
Logical lines of code 59
Comment lines 97
Methods 12
Properties 4

Methods 12

Method Rating Maintainability Complexity Lines of code
register_options_rest_routes()
S
41 2 68
register_cache_rest_routes()
S
42 1 72
register_misc_rest_routes()
S
45 2 49
register_environment_rest_routes()
S
48 1 44
register_images_rest_routes()
S
49 1 38
register_dashboard_rest_routes()
S
50 1 37
register_webp_rest_routes()
S
55 1 23
register_multisite_rest_routes()
S
59 1 16
load_dependencies()
S
73 2 5
register_rest_routes()
S
72 2 5
__construct()
S
82 1 3
check_permissions()
S
80 1 3